home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 27
/
CU Amiga Magazine's Super CD-ROM 27 (1998)(EMAP Images)(GB)[!][issue 1998-10].iso
/
CUCD
/
Programming
/
Mesa
/
include
/
gl
/
amigamesartl.h
next >
Wrap
C/C++ Source or Header
|
1998-08-02
|
2KB
|
94 lines
/*
* Mesa 3-D graphics library
* Version: 2.2
* Copyright (C) 1995-1997 Brian Paul
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
* amigamesartl.h
*
* Version 1.0 27 Jun 1998
* by Jarno van der Linden
* jarno@kcbbs.gen.nz
*
* Based on FooMesa.h ver 1.1
*
* Version 1.1 02 Aug 1998
* by Jarno van der Linden
* jarno@kcbbs.gen.nz
*
* - Quantizer plugin tags added
*
*/
#ifndef AMIGAMESARTL_H
#define AMIGAMESARTL_H
#ifdef __cplusplus
extern "C" {
#endif
#ifndef MAKE_AMIGALIB
#include "pragmas/amigamesartl_pragmas.h"
#endif
#include "GL/gl.h"
#include <utility/tagitem.h>
#define AMRTL_Base (TAG_USER + 42)
#define AMRTL_RGBAMode (AMRTL_Base + 0)
#define AMRTL_IndexMode (AMRTL_Base + 1)
#define AMRTL_NumColours (AMRTL_Base + 2)
#define AMRTL_NumColors (AMRTL_NumColours)
#define AMRTL_ColourBase (AMRTL_Base + 3)
#define AMRTL_ColorBase (AMRTL_ColourBase)
#define AMRTL_Quantizer (AMRTL_Base + 4)
#define AMRTL_QuantizerVersion (AMRTL_Base + 5)
typedef struct amiga_mesa_rtl_context *AmigaMesaRTLContext;
extern __asm __saveds AmigaMesaRTLContext AmigaMesaRTLCreateContextA( register __a0 struct Window *window, register __a1 struct TagItem *tags );
extern AmigaMesaRTLContext AmigaMesaRTLCreateContext( struct Window *window, Tag tag, ... );
extern __asm __saveds void AmigaMesaRTLDestroyContext( register __a0 AmigaMesaRTLContext context );
extern __asm __saveds void AmigaMesaRTLMakeCurrent( register __a0 AmigaMesaRTLContext context );
extern __asm __saveds AmigaMesaRTLContext AmigaMesaRTLGetCurrentContext( void );
/* Probably some more functions... */
#ifdef __cplusplus
}
#endif
#endif